﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace Mobile.FirstWebApplication.Business
{
    public class User
    {
        public string Name { get; set; }
        public bool IsActive { get; set; }
        public string Country { get; set; }
        public char FirstLetter { get; set; }
        public int Age { get; set; }

        public User(string name, bool isActive, string country,int age)
        {
            Name = name;
            IsActive = isActive;
            Country = country;
            Age = age;
            FirstLetter = Convert.ToChar(name.Substring(0, 1).ToUpper());
        }
    }
}